﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Internal.Master" Inherits="System.Web.Mvc.ViewPage<PagedList<BPM.Entity.User>>" %>

<%@ Import Namespace="Webdiyer.WebControls.Mvc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    待审核用户列表
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptStyleContent" runat="server">
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="altTable">
        <thead>
            <tr>
                <td>
                    用户名
                </td>
                <td>
                    真实姓名
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </thead>
        <tbody>
            <% foreach (BPM.Entity.User user in Model)
               { %>
            <tr>
                <td>
                    <%= user.UserName %>
                </td>
                <td>
                    <%= user.RealName %>
                </td>
                <td>
                    <%=Html.ActionLink("允许加入", "AllowNotValidUser/" + user.Id)%>
                </td>
                <td>
                    <%=Html.ActionLink("删除", "DeleteNotValidUser/" + user.Id)%>
                </td>
            </tr>
            <%} %>
        </tbody>
    </table>
    <%=Html.Pager(Model,new PagerOptions{PageIndexParameterName="page", FirstPageText = "首页",
    LastPageText="尾页", NextPageText="下页", PrevPageText="上页"}) %>
</asp:Content>
